package com.yuyou.fn.report.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 年级科目成本
 *
 */
@TableName(value = "cost_of_grade_subject")
public class CostOfGradeSubject implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<CostOfGradeSubject> createExample(){
		return new Example<CostOfGradeSubject>(CostOfGradeSubject.class);
	}

	/**  */
	@TableId(value = "cost_of_grade_subject_id")
	private Long costOfGradeSubjectId;

	/**  */
	@TableField(value = "main_account_id")
	private Long mainAccountId;

	/**  */
	@TableField(value = "grade_id")
	private Long gradeId;

	/**  */
	@TableField(value = "subject_id")
	private Long subjectId;

	/**  */
	@TableField(value = "fee_category_id")
	private Long feeCategoryId;

	/** 成本分类名称 */
	@TableField(value = "fee_name")
	private String feeName;

	/** 发生金额 */
	private BigDecimal amount;

	/** 其他信息 */
	private String extra;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 生效时间 */
	@TableField(value = "effect_time")
	private Date effectTime;


	public Long getCostOfGradeSubjectId() {
		return this.costOfGradeSubjectId;
	}

	public void setCostOfGradeSubjectId(Long costOfGradeSubjectId) {
		this.costOfGradeSubjectId = costOfGradeSubjectId;
	}

	public Long getMainAccountId() {
		return this.mainAccountId;
	}

	public void setMainAccountId(Long mainAccountId) {
		this.mainAccountId = mainAccountId;
	}

	public Long getGradeId() {
		return this.gradeId;
	}

	public void setGradeId(Long gradeId) {
		this.gradeId = gradeId;
	}

	public Long getSubjectId() {
		return this.subjectId;
	}

	public void setSubjectId(Long subjectId) {
		this.subjectId = subjectId;
	}

	public Long getFeeCategoryId() {
		return this.feeCategoryId;
	}

	public void setFeeCategoryId(Long feeCategoryId) {
		this.feeCategoryId = feeCategoryId;
	}

	public String getFeeName() {
		return this.feeName;
	}

	public void setFeeName(String feeName) {
		this.feeName = feeName;
	}

	public BigDecimal getAmount() {
		return this.amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public String getExtra() {
		return this.extra;
	}

	public void setExtra(String extra) {
		this.extra = extra;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getEffectTime() {
		return effectTime;
	}

	public void setEffectTime(Date effectTime) {
		this.effectTime = effectTime;
	}
}
